package com.teamall.web.family.db.dao.mapper;

import com.teamall.web.family.db.arg.FamilyMemberArg;
import com.teamall.web.family.db.po.FamilyMemberPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IFamilyMemberMapper {
    
    List<Integer> countByArg(FamilyMemberArg arg);

    List<FamilyMemberPO> selectByArg(FamilyMemberArg arg);

    FamilyMemberPO selectByPrimaryKey(Integer id);

    List<FamilyMemberPO> selectByArgAndPage(FamilyMemberArg arg, RowBounds rowBound);

    int insert(FamilyMemberPO record);

    int insertSelective(FamilyMemberPO record);

    int insertBatch(@Param("list") List<FamilyMemberPO> records);

    int updateByArgSelective(@Param("record") FamilyMemberPO record,
            @Param("arg") FamilyMemberArg arg);

    int updateByArg(@Param("record") FamilyMemberPO record,
            @Param("arg") FamilyMemberArg arg);

    int updateByPrimaryKeySelective(FamilyMemberPO record);

    int updateByPrimaryKey(FamilyMemberPO record);
    
    int deleteByArg(FamilyMemberArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}